import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import "@/assets/fonts/iconfont.css"

import axios from 'axios'
import VueAxios from 'vue-axios'
Vue.use(VueAxios, axios)

import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
Vue.use(ElementUI)

// 引入element-tiptap
import {
  ElementTiptapPlugin
} from 'element-tiptap';
// import element-tiptap 样式
import 'element-tiptap/lib/index.css';
//使用
Vue.use(ElementTiptapPlugin, {
  lang: 'zh',
});



import VAS from 'vue-awesome-swiper'
Vue.use(VAS)
import 'swiper/css/swiper.css'
//配置请求的基础路径
axios.defaults.baseURL = 'http://127.0.0.1:3000/'


Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')